package de.tsajar.es.physics.interpolation;

import com.jme3.math.Vector3f;
import com.simsilica.es.EntityComponent;

/**
 *
 * @author Eike Foede
 */
public class LinearInterpolationComponent implements EntityComponent {

    private final Vector3f oldPosition;
    private final Vector3f newPosition;

    public LinearInterpolationComponent(Vector3f oldPosition, Vector3f newPosition) {
        this.oldPosition = oldPosition;
        this.newPosition = newPosition;
    }

    public Vector3f getOldPosition() {
        return oldPosition;
    }

    public Vector3f getNewPosition() {
        return newPosition;
    }
}
